<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class PW_Log extends CI_Log
{
    /**
     * Override threshold setting.
     *
     * If {config}/development.php has log threshold setting, override this
     * from {config}/config.php
     */
    public function __construct() {
        parent::__construct();
        if (file_exists(APPPATH . 'config/development.php')) {
            include APPPATH . 'config/development.php';
        }
        if (isset($config['log_threshold'])) {
            $this->_threshold = $config['log_threshold'];
        }
    }
    
}

?>